import { ApiProperty } from '@nestjs/swagger';
import { SendEmailRequest } from '@libs/common/protos/email/email';

export class EmailDto implements SendEmailRequest {
  @ApiProperty({ description: '用户邮箱' })
  to: string;
  body: string;
  from: string;
  metadata: { [p: string]: string };
  subject: string;

}